<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>大家乐在线点餐系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.6 -->
    <link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css">

    <link rel="stylesheet" href="../../dist/css/font-awesome.min.css">
    <link rel="stylesheet" href="../../dist/css/ionicons.min.css">
    <!-- DataTables -->
    <link rel="stylesheet" href="../../plugins/datatables/dataTables.bootstrap.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="../../dist/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="../../plugins/daterangepicker/daterangepicker.css">
    <link rel="stylesheet" href="../../css/admin.css">  

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.åjs"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <!-- 头部信息 -->
        <header class="main-header"></header>
        <!--  左侧导航 -->
        <aside class="main-sidebar"></aside>
    
        <!-- 内容区域 -->
        <div class="content-wrapper">
        <!-- 内容标题 -->
        <section class="content-header">
            <h1>
                <small>餐品时段</small>/编辑餐品时段
            </h1>
            <!-- <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li><a href="#">门店管理</a></li>
                <li class="active">门店列表</li>
            </ol> -->
        </section>

        <!-- 内容区 -->
        <section class="content">
          <div class="row">
            <div class="col-xs-12">
              <!-- /.box -->
              <div class="box">
               
                <div class="box-body form-horizontal">
                    <!-- <h4 class="detail_title">
                        基础信息
                    </h4> -->
                    <div class="detail_con ">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">时段类型名</label>
                            <div class="col-sm-4">
                                <input type="text" name="" class="form-control" placeholder="填写时段类型名称，如“标准时段“">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">早茶市开市时间</label>
                            <div class="col-sm-4">
                                <select name="" class="form-control timeselect">
                                  <option value=""></option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">接单截止时间</label>
                            <div class="col-sm-4">
                                <select name="" class="form-control timeselect">
                                  <option value=""></option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">午夜市开市时间</label>
                            <div class="col-sm-4">
                                <select name="" class="form-control timeselect">
                                  <option value=""></option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">接单截止时间</label>
                            <div class="col-sm-4">
                                <select name="" class="form-control timeselect">
                                  <option value=""></option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">时段有效期</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" id="order-time">
                            </div>
                            <div class="col-sm-4">
                                <p class="text-gray">无时段有效期不需填写</p>
                            </div>
                        </div>
                    </div>
                     
                </div>
                <!-- /.box-body -->
                <div class="box-footer foot_bg align-center">                                   
                    <button type="submit" class="btn btn-flat btn-yellow"">确认保存</button>                
                    <button class="btn btn-flat btn-default btn-gray" type="button" onclick="history.go(-1)">取消</button>
                </div>
              </div>
            </div>
            <!-- /.col -->
          </div>
          <!-- /.row -->
        </section>
        <!-- /.content -->
      </div>
      <div class="control-sidebar-bg"></div>
    </div>
    <!-- ./wrapper -->
<!-- jQuery 2.2.3 -->
<script src="../../plugins/jQuery/jquery-2.2.3.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="../../bootstrap/js/bootstrap.min.js"></script>
<script src="../../plugins/daterangepicker/moment.js"></script>
<script src="../../plugins/daterangepicker/daterangepicker.js"></script>
<!-- DataTables -->
<script src="../../plugins/datatables/jquery.dataTables.min.js"></script>
<script src="../../plugins/datatables/dataTables.bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="../../plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="../../plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="../../dist/js/app.min.js"></script>
<script src="../../dist/js/demo.js"></script>

<script type="text/javascript">
  var pageMenu = {"active": [4]};
  $(function(){
    hour_select();
    $("#order-time").daterangepicker().val('');
  })
  //时间
  function hour_select(){
      $(".timeselect").empty();
      $(".timeselect").append($('<option value="" selected>请选择</option>'));
      for(var i=1;i<25;i++){
        $(".timeselect").append($('<option value='+i+'>'+i+':00</option>'));
      }
  }
</script>
<script src="../../js/vendors.js" type="text/javascript"></script>
<script src="../../js/index.js" type="text/javascript"></script>
  
</body>
</html>